package com.beamfield.dao.device;

import com.beamfield.model.DeviceWork;
import com.beamfield.model.DeviceWorkExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceWorkMapper {
    int countByExample(DeviceWorkExample example);

    int deleteByExample(DeviceWorkExample example);

    int insert(DeviceWork record);

    int insertSelective(DeviceWork record);

    List<DeviceWork> selectByExample(DeviceWorkExample example);

    int updateByExampleSelective(@Param("record") DeviceWork record, @Param("example") DeviceWorkExample example);

    int updateByExample(@Param("record") DeviceWork record, @Param("example") DeviceWorkExample example);

    int updateByPrimaryKeySelective(DeviceWork record);

    int updateByPrimaryKey(DeviceWork record);

    List<DeviceWork> selectByInboundId(@Param("inboundId") Long inboundId);
}